# -*- coding: utf-8 -*-
from django.db import models

# Create your models here.

class shop(models.Model):
    shopname=models.CharField(max_length=100)
    shopaddress=models.CharField(max_length=200)
    shopimage=models.CharField(max_length=100)
    shopkeys=models.TextField(blank=True,null=True)
    shopstatus=models.CharField(max_length=5)
    shopdate=models.DateTimeField()
    
    def __unicode__(self):
        return self.shopname
    
    class Meta:
        ordering=['shopname']
    class Admin:
        pass   
